#ifndef QINSERTWIDGET_H
#define QINSERTWIDGET_H

#include <QWidget>
#include "../qtableattribute.h"
class QInsertWidgetPrivate;
class QSqlDatabase;
class QInsertWidget : public QWidget
{
    Q_OBJECT
    Q_DECLARE_PRIVATE(QInsertWidget)
public:
    explicit QInsertWidget(QWidget *parent = nullptr);
    bool init(QSqlDatabase *_db, QTableAttribute *_tableAttribute);
    ~QInsertWidget();
private:
    QInsertWidgetPrivate * const d_ptr;
signals:

};

#endif // QINSERTWIDGET_H
